# -*- coding: utf-8 -*-#

# -------------------------------------------------------------------------------
# Name:         zx_test
# Description:
# Author:       zx
# Date:         2020/10/13
# -------------------------------------------------------------------------------
import tensorflow as tf

with tf.Session() as sess:
    saver = tf.train.import_meta_graph('./logs/ckpt/DB_resnet_v1_50_adam_model.ckpt-1.meta')
    saver.restore(sess, tf.train.latest_checkpoint('./logs/ckpt'))
    print(sess.run('w1:0'))
##Model has been restored. Above statement will print the saved value
